<%--
  Created by IntelliJ IDEA.
  User: dong_
  Date: 2022/10/8
  Time: 15:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script src="/js/jquery-3.4.1.min.js"></script>
</head>
<body>

<img src="/captcha" id="cap" style="width:85px">


</body>
<script>

    $(function () {
        // 注册图片的单击事件
        $("#cap").click(function () {
            path = "/captcha?"+new Date().getTime();
            $(this).attr("src",path);
        });

    });

</script>
</html>
